package whf.survey.service;

import whf.framework.exception.ServiceNotFoundException;
import whf.framework.util.BeanFactory;
import whf.survey.dao.SurveyTopicChoiceDAO;
import whf.survey.entity.SurveyTopicChoice;

/**
 * @author wanghaifeng
 * @email king@126.com
 * @modify 2006-09-12
 */
public class SurveyTopicChoiceServiceImp extends whf.framework.service.ServiceImp<SurveyTopicChoice> implements SurveyTopicChoiceService {

	private SurveyTopicChoiceDAO surveyTopicChoiceDAO;

	/**
	 * @modify wanghaifeng Sep 12, 2006 10:25:39 PM
	 * @param surveyTopicChoiceDAO
	 */
	public void setSurveyTopicChoiceDAO(SurveyTopicChoiceDAO surveyTopicChoiceDAO) {
		this.surveyTopicChoiceDAO = surveyTopicChoiceDAO;
	}

	public static SurveyTopicChoiceService getSurveyTopicChoiceService() throws ServiceNotFoundException {
		return (SurveyTopicChoiceService)BeanFactory.getService(SurveyTopicChoiceServiceImp.class) ;
	}

} 